FROM openjdk:8-jdk-alpine
ADD agent-config.txt /usr/agent/
ARG JAR_FILE
COPY target/pcrs-backend-1.0.0.jar pcrs.jar
ENTRYPOINT  ["java","-Djava.security.egd=file:/dev/./urandom","-jar","/pcrs.jar"]